Pages Collection

The Pages Collection is part of the Page Engine. Use the Page Engine when designing web sites using Active Server Pages, the Crystal Report Engine Automation Server, and the Crystal Design-Time ActiveX Control. Unless you are experienced with the Crystal Report Engine Object Library, you should allow the Crystal Design-Time ActiveX Control to generate VBScript code in your Active Server Pages that controls the Page Engine objects.

The Page Engine generates pages of a report on the web server and sends the pages to client web browsers as they are requested. For example, when a user first requests a report, only the first page is sent to the web browser. If the user pages forward or backward in the report, or requests a specific page, only that page is sent. This limits the resources required by the web server and reduces download time for the client browser.

The Pages Collection is a collection of Page Object. Access a specific Page Object in the collection using the Item property.

Pages Collection Properties

Property Description Read/Write Restriction in
event handler

Count

Long. Gets the number of page objects in the collection.

Read only

None

Item (index
As Long)

Page Object. Gets the collection item based on the 1-based index number.

Read only

None

Parent

PageGenerator Object. Gets reference to the parent object.

Read only

None

Remarks

Item is a default property. You can reference a page directly, for example, Pages(1).



Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com